\documentclass[letterpaper]{book}

\input{../DakotaDefs.tex}
%\usepackage{a4wide}
\oddsidemargin  0.25 in
\evensidemargin 0 in
\topmargin  0 in
\textwidth  6.25 in
\textheight 8.25 in

\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{bigbox}
\usepackage{subfigure}
\usepackage{subfigmat}
\usepackage{moreverb}
\usepackage{float}
\usepackage{alltt}
\usepackage{times}
\ifx\pdfoutput\undefined
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue
           ]{hyperref}
\else
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue
           ]{hyperref}
\fi
\usepackage{colortbl}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb,lastpage}

%\usepackage{doxygen}
% Some settings borrowed from doxygen.sty:
\pagestyle{fancyplain}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\lhead[\fancyplain{}{\bfseries\thepage}]
        {\fancyplain{}{\bfseries\rightmark}}
\rhead[\fancyplain{}{\bfseries\leftmark}]
        {\fancyplain{}{\bfseries\thepage}}
\rfoot[\fancyplain{}{\bfseries\scriptsize Dakota Version \DakotaVersion\space Theory Manual generated on \today}]{}
\lfoot[]{\fancyplain{}{\bfseries\scriptsize Dakota Version \DakotaVersion\space Theory Manual generated on \today}}
\cfoot{}

\setcounter{secnumdepth}{6}
\setcounter{tocdepth}{4}
\makeindex
%\setcounter{tocdepth}{1}
\renewcommand\footrulewidth{0.4pt}

\begin{document}

\begin{titlepage}
\pagenumbering{arabic}
\setcounter{page}{3}
\begin{center}
{\large \DakotaSANDTheory}\\
{\large Unlimited Release}\\
%{\large \DakotaSANDDate}\\
{\large Updated \today}\\

\vspace*{1.5cm}
{\LARGE Dakota, A Multilevel Parallel Object-Oriented Framework for 
Design Optimization, Parameter Estimation, Uncertainty Quantification, 
and Sensitivity Analysis}\\
\vspace*{1cm}
{\LARGE Version \DakotaVersion\space Theory Manual}\\
\vspace*{1cm}

\DakotaAuthorFormatted
\vspace*{1cm}

\newpage

{\Large \bf Abstract}
\end{center}

\DakotaAbstractShared
\DakotaAbstractTheory

\end{titlepage}

\cleardoublepage
\tableofcontents
\cleardoublepage

%\setcounter{secnumdepth}{-1} % Turn off chapter numbering (for the Preface)
%\input{Theory_Preface}
%\setcounter{secnumdepth}{6} % Turn on chapter numbering (after the Preface)
%\input{Theory_Intro}
\input{Theory_UQ_Reliability}
\input{Theory_UQ_StochExp}
\input{Theory_UQ_Epistemic}
\input{Theory_Surrogates}
\input{Theory_Opt_SurrBased}
\input{Theory_Opt_UnderUnc}
% TO DO: add analysis from MAO paper (do not extract anything from User's)
%\input{Theory_Parallel}

\bibliographystyle{plain}
\bibliography{Theory}

\end{document}
